import request from "@/utils/request.js";

/* 请求登录 */
export const userLoginService = (loginData) => {
    return request.post("/user/login", loginData);
}

/* 请求注册 */
export const userRegisterService = (registerData) => {
    return request.post("/user/register", registerData)
}